<template>
    <p v-for="(item, index) in arr" :key="index">
        索引值：{{ index }}---元素的内容是：{{ item }}
    </p>
    <vif></vif>
</template>
<script setup>
const arr = ["HTML", "CSS", "JavaScript", "JQuery", "Vue3"]

</script>